package com.neuedu.nevserver.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 *
 * </p>
 *
 * @author sjy
 * @since 2025-03-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="SlauBatch对象", description="")
public class SlauBatch implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "编号（代替batch_id与slau_id的复合主键）")
    @TableId(value = "sb_id", type = IdType.AUTO)
    private Integer sbId;

    @ApiModelProperty(value = "所属屠宰企业产品批号")
    private String batchId;

    @ApiModelProperty(value = "所属屠宰企业编号")
    private Integer nodeId;

    @ApiModelProperty(value = "所属养殖企业进场批号id")
    private Integer fbId;

    @ApiModelProperty(value = "产品品种")
    private String type;

    @ApiModelProperty(value = "肉类检验检疫合格证编号")
    private String quaId;

    @ApiModelProperty(value = "官方检验员名称")
    private String testName;

    @ApiModelProperty(value = "批号录入日期")
    private Date batchDate;

    @ApiModelProperty(value = "批号状态（1：新建；2：已确认；3：下架；）")
    private Integer state;

    @ApiModelProperty(value = "注备")
    private String remarks;

    @ApiModelProperty(value = "佐证材料(肉类检验检疫合格证)")
    private String img;

    public Integer getSbId() {
        return sbId;
    }

    public void setSbId(Integer sbId) {
        this.sbId = sbId;
    }

    public String getBatchId() {
        return batchId;
    }

    public void setBatchId(String batchId) {
        this.batchId = batchId;
    }

    public Integer getNodeId() {
        return nodeId;
    }

    public void setNodeId(Integer nodeId) {
        this.nodeId = nodeId;
    }

    public Integer getFbId() {
        return fbId;
    }

    public void setFbId(Integer fbId) {
        this.fbId = fbId;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getQuaId() {
        return quaId;
    }

    public void setQuaId(String quaId) {
        this.quaId = quaId;
    }

    public String getTestName() {
        return testName;
    }

    public void setTestName(String testName) {
        this.testName = testName;
    }

    public Date getBatchDate() {
        return batchDate;
    }

    public void setBatchDate(Date batchDate) {
        this.batchDate = batchDate;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }
}
